﻿@model ZhongheCms.Models.GswTblMember
@{
	
    Layout = "~/Views/Shared/_LayoutWebsite.cshtml";
  
}
@section head
{
    <link href="/assets/sunjob/css/Login.css" rel="stylesheet" />
    <link href="/assets/css/error.css" rel="stylesheet"/>

    <script src="/assets/js/jquery.validate.min.js"></script>
    <script src="/assets/js/jquery.validate.unobtrusive.min.js"></script>
    <script type="text/javascript">
        jQuery(function ($) {
            $('#username').focus(function () {
                $(this).next().hide();
            }).blur(function () {
                if ($.trim($(this).val()) == "") {
                    $(this).next().show();
                }
            });

            $('#pwd').focus(function () {
                $(this).next().hide();
            }).blur(function () {
                if ($.trim($(this).val()) == "") {
                    $(this).next().show();
                }
            });

            //$(function () {
            //    if ($('#username').val() !== "" || $("#pwd").val() !== "") {
            //        $('#username').focus();
            //        $("#pwd").focus();
            //    }
            //});

        });
       
    </script>
}
 
    <div class="wrap-large">
        <div class="banner-box">
            <a href="#" target="_blank" rel="nofollow"><img src="/Assets/img/signad.jpg" alt="" width="880" height="440" alt="广告位"></a>
        </div>
        <div class="sidebar-box">
            <h2 class="sidebar-column">会员登录</h2>
            <div class="login-wrap">
                <form action="/SunJob/SignIn" method="post" id="userloginform" novalidate="novalidate">
                    
                    <input type="hidden" id="returl" name="returl" value="@ViewBag.returl"/>
                    <div class="control-group">
                        <div class="controls">
                            <label for="username">
                                <input class="ipt-text" id="username" name="username" type="text" value="" data-val="true" data-val-required="用户名不允许为空" autocomplete="off">
                                <span class="text-watermark">用户名</span>
                               

                            </label>
                             <span class="field-validation-valid " data-valmsg-for="username" data-valmsg-replace="true"></span>
                        </div>
                    </div>

                    <div class="control-group">
                        <div class="controls">
                            <label for="pwd">
                                <input class="ipt-text" id="pwd" name="pwd" type="password" value="" data-val="true" data-val-required="密码不允许为空" autocomplete="off">
                                <span class="text-watermark">密码</span>
                            </label>
                             <span class="field-validation-valid " data-valmsg-for="pwd" data-valmsg-replace="true"></span>
                        </div>
                    </div>
                    

                    <div class="control-group t-control-group">
                        <label for="saveUserLongTime">
                            <input type="checkbox" name="checkbox" class="check-btn" id="saveUserLongTime" autocomplete="off">保存登录状态
                        </label>
                        <a href="/SunJob/ForgetPwd" class="forget-pwd">找回密码</a>
                    </div>

                    <div class="control-group button-group">
                             @Html.ValidationSummary(true)
                        <input type="submit" value="登录" title="登录" class="login-btn" >
                    </div>
                  
                </form>
            </div>
            @*<div class="column-box"><span id="qqLoginBtn"></span>
<script type="text/javascript">
    QC.Login({
        btnId: "qqLoginBtn"    //插入按钮的节点id
    });
</script></div>*@
            <div class="column-box login-box ">  <a href="/SunJob/Register" >我要注册！</a>注册可获赠<span class="number-box">50</span>积分<!-- 使用第三方帐号登录：<a href="" id="qqLogin" title="QQ账户登录" onclick="qqLogin();return false;">QQ</a><a href="" id="sinaLogin" title="新浪微博账户登录" onclick="sinaLogin();return false;">新浪微博</a> --></div>
        </div>
    </div>

